import ajaxService from "../util/request.utils";

export function getDataByPost(url: string, data: any, config: any) {
    return ajaxService.post(url, data, config)
}

export function getDataByGet(url: string, config: any) {
    return ajaxService.get(url, config)
}